function gets(pageNum) {
    var m=$("#dinumber").val();
    var l=$("#cname").val();
    var k=$("#jixing").val();
    var j=$("#guige").val();
    var i=$("#danwei").val();
    var h=$("#cc").val();
    var g=$("#qiye").val();
    var f=$("#shangpin").val();
    var e=$("#lefPprice").val();
    var d=$("#rightPrice").val();
    var c=$("#cengci").val();
    var b=$("#dcid").val();
    var a=$("#state").val();
    var pageN = pageNum;
    $.ajax({
            url: '/myspringboot/selectUserAll',
            type: 'post',
            dataType: "json",
            data:{
                pageNum:pageN,
            },

        success:function(pageInfo){
            yibu(pageInfo.pages,pageInfo.pageNum);
            var list = pageInfo.list;
            $(".a").empty();
            /*for (var i = 0; i < list.length; i++){
                    var diId = list[i].diId;
                    //药品流水号
                    var daNumber = list[i].diNumer;
                    //通用名
                    var diName = list[i].diName;
                    //剂型
                    var diForm = list[i].diForm;
                    //规格
                    var diSpecifications = list[i].diSpecifications;
                    //单位
                    var diUnit = list[i].diUnit;
                    //装换系数
                    var diCc = list[i].diCc;
                    //生产企业
                    var daSupplier=null;
                    var daName=null;
                    var drugAtegory = list[i].drugAtegory;
                    if (drugAtegory ==null) {
                        daSupplier="null"
                        daName="null"
                    }else {
                        daSupplier = list[i].drugAtegory.daSupplier;
                        //商品名称
                        daName = list[i].drugAtegory.daName;
                    }
                    //中间jia
                    var diNewPrice = list[i].diNewPrice;
                    //质量层次
                    var dqlName = list[i].drugQualityLevel.dqlName;
                    console.log(dqlName)
                    //药品类别
                    var dcName = list[i].drugCategory.dcName;
                    //交易状态
                    var diTradingStatus = list[i].diTradingStatus;
                    var a="";
                    if (diTradingStatus==0){
                         a = "未交易";
                    } else {
                         a= "交易完成"
                    }
                var $tr = '<tr>'+
                    '<td>'+daNumber+'</td>'+
                    '<td>'+diName+'</td>'+
                    '<td>'+diForm+'</td>'+
                    '<td>'+diSpecifications+'</td>'+
                    '<td>'+diUnit+'</td>'+
                    '<td>'+diCc+'</td>'+
                    '<td>'+daSupplier+'</td>'+
                    '<td>'+daName+'</td>'+
                    '<td>'+diNewPrice+'</td>'+
                    '<td>'+dqlName+'</td>'+
                    '<td>'+dcName+'</td>'+
                    '<td>'+a+'</td>'+
                    '<td>'+'<a>查看</a>'+'</td>'+
                    '</tr>'
                $(".a").append($tr);
            }*/
        }
        }
    )
}